// 奖品（Draw）相关类型，基于 api.json

export interface Draw {
  _id: string
  name?: string | null
  subTitle?: string | null
  probability?: number | null
  pic?: string[] | null
  price?: number | null
  createBy?: string | null
  createdAt: string
  updatedAt: string
}

export interface DrawListData {
  list: Draw[]
  total: number
}

export interface CreateAdminDrawDto {
  name: string
  subTitle?: string
  probability?: number
  pic: string[]
  price: number
}

export interface UpdateAdminDrawDto {
  name?: string
  subTitle?: string
  probability?: number
  pic?: string[]
  price?: number
}

export interface DrawIdData {
  id: string
}